package com.example.administrator.yuejian2.service;

import com.example.administrator.yuejian2.bean.LoginBean;
import com.example.administrator.yuejian2.bean.RegisterBean;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface RetrofitService {
    @GET("userLogin")
    Call<LoginBean> login(@Query("user_tel") String name, @Query("user_password") String password);
    @GET("userRegist")
    Call<RegisterBean>register(@Query("user_name") String name,@Query("user_password") String password,@Query("user_email") String email,@Query("user_tel") String tel);
}
